/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.product;

import java.util.Date;

/**
 * The [@link ServiceType] is a type of [@link ProductType] that
 * represents a type of service.
 */
public class ServiceType extends ProductType {

    /**
     * The start of the period over which the ServiceType is available.
     */
    private Date startPeriodOfOperation;

    /**
     * The end of the period over which the ServiceType is available.
     */
    private Date endPeriodOfOperation;

    public Date getEndPeriodOfOperation() {
        return endPeriodOfOperation;
    }

    public void setEndPeriodOfOperation(Date endPeriodOfOperation) {
        this.endPeriodOfOperation = endPeriodOfOperation;
    }

    public Date getStartPeriodOfOperation() {
        return startPeriodOfOperation;
    }

    public void setStartPeriodOfOperation(Date startPeriodOfOperation) {
        this.startPeriodOfOperation = startPeriodOfOperation;
    }
}
